package com.ddlaw.service;

import java.util.List;
import java.util.Map;

import com.ddlaw.entity.TLawKnowledge;
import com.ddlaw.entity.TLawKnowledgeDetail;
import com.ddlaw.entity.TLawKnowledgeType;

public interface LawKnowledgeService {
	/**获取知识大类型*/
	public List<TLawKnowledge> getKnowledge(Map params);
	/**获取知识小类型*/
	public List<TLawKnowledgeType> getMinKnowledge(Map params);
	/**根据知识类型获取知识详情*/
	public List<TLawKnowledgeDetail> getDetailById(Map params);
	/**阅读量计算*/
    int addReadNum(int contractId);
}
